nestedsvm: fix tlb_control
authorChristoph Egger <Christoph.Egger@amd.com>
Tue, 31 May 2011 12:55:50 +0000 (13:55 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Tue, 31 May 2011 12:55:50 +0000 (13:55 +0100)
commitd2e4f64d612734bb31fed23be840b1671c404d5d
tree342c604ac8b7325cf07163817867127eda40bedb
parent7f55e2b770d9583e3572aefa656882d76f1de523
nestedsvm: fix tlb_control

On VMRUN emulation evaluate the virtual tlb_control only to match
hw behaviour. Deal with l1 guests which use flush-by-asid w/o
checking cpuid bits or fill tlb_control with random data.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/arch/x86/hvm/svm/nestedsvm.c